cmake_minimum_required(VERSION 3.0.2)
project(car_driver)

## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
  message_generation
)

add_message_files(
  FILES
  ModeConfig.msg
)

generate_messages(
  DEPENDENCIES
  std_msgs   #自定义消息依赖
  )

catkin_package(
INCLUDE_DIRS include
LIBRARIES beginner_tutorials
CATKIN_DEPENDS roscpp std_msgs message_runtime  #自定义依赖
DEPENDS system_lib
)

